package com.cychat.mall.service;

import com.Cychat.commons.entity.pojo.Address;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * Auther: 刘俊  <br/>
 * Date: 2025-11-5:上午 10:42  <br/>
 * Description: 地址服务接口
 */
public interface AddressService extends IService<Address> {
    List<Address> listByUserId(Long userId);

    void setDefault(Integer addressId);

    Address getDefaultByUserId(Long userId);
}
